package cn.gson.crm.model.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.crm.model.pojo.ConnectorState;



public interface LLJ_ConnectorDao extends CrudRepository<ConnectorState,Long>{

	@Query("select new cn.gson.crm.model.pojo.ConnectorState(c.connectorId,c.connectorName) from ConnectorState c")
	public List<ConnectorState> searchAll();                       
	
}
